There are no remaining users of the GtkApplicationWindow API to create
GSimpleActionObserver or to get the GActionObservable (ie: muxer) for
the appwindow. Drop those APIs.
#ifndef __GTK_APPLICATION_PRIVATE_H__
#define __GTK_APPLICATION_PRIVATE_H__
-#include "gsimpleactionobserver.h"
#include "gtkapplicationwindow.h"
G_GNUC_INTERNAL
G_GNUC_INTERNAL
void gtk_application_window_unpublish (GtkApplicationWindow *window);
-G_GNUC_INTERNAL
-GSimpleActionObserver * gtk_application_window_create_observer (GtkApplicationWindow *window,
- const gchar *action_name,
- GVariant *target);
-
-G_GNUC_INTERNAL
-GActionObservable * gtk_application_window_get_observable (GtkApplicationWindow *window);
-
G_GNUC_INTERNAL
GtkAccelGroup * gtk_application_window_get_accel_group (GtkApplicationWindow *window);
}
}
-GSimpleActionObserver *
-gtk_application_window_create_observer (GtkApplicationWindow *window,
- const gchar *action_name,
- GVariant *target)
-{
- g_return_val_if_fail (GTK_IS_APPLICATION_WINDOW (window), NULL);
-
- return g_simple_action_observer_new (window->priv->muxer, action_name, target);
-}
-
-GActionObservable *
-gtk_application_window_get_observable (GtkApplicationWindow *window)
-{
- return G_ACTION_OBSERVABLE (window->priv->muxer);
-}
-
GtkAccelGroup *
gtk_application_window_get_accel_group (GtkApplicationWindow *window)
{